package com.jianggy.observer.jdk;

public class App {
	public static void main(String[] args) {
		JDEMall mall = new JDEMall();
		mall.addObserver(new WeixinContact());
		mall.addObserver(new PhoneContact());
		mall.addObserver(new EmailContact());
		mall.pay();
	}
}
